namespace Framework.DataObjects
{
    public class FolderFileNameDo
    {
        public FolderFileNameDo()
        {
        }
        public FolderFileNameDo(string folder, string fileName)
        {
            Folder = folder;
            FileName = fileName;
        }
        public FolderFileNameDo(string fullPath)
        {
            Folder = FileUtil.GetDirectoryName(fullPath);
            FileName = FileUtil.GetFileName(fullPath);
        }

        public string Folder { get; set; }

        public string FileName { get; set; }

        public string GetFullFileName()
        {
            return FileUtil.PathCombine(Folder, FileName);
        }
    }
}